package com.onepower.core.modules.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.onepower.core.modules.repository.entity.MatchScoreRuleBaseRate;
import com.onepower.core.modules.repository.entity.MatchScoreRuleCalculate;
import com.onepower.core.modules.repository.mapper.MatchScoreRuleBaseRateMapper;
import com.onepower.core.modules.repository.mapper.MatchScoreRuleCalculateMapper;
import com.onepower.core.modules.service.IMatchScoreRuleBaseRateService;
import com.onepower.core.modules.service.IMatchScoreRuleCalculateService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IMatchScoreRuleBaseRateServiceImpl extends ServiceImpl<MatchScoreRuleBaseRateMapper, MatchScoreRuleBaseRate>
        implements IMatchScoreRuleBaseRateService {


    @Override
    public List<MatchScoreRuleBaseRate> baseRateList(Integer ruleId) {
        List<MatchScoreRuleBaseRate> list = baseMapper.selectScoreRuleBaseRateList(ruleId);
        return list;
    }
}
